using System.Collections.Generic;
using Google.Protobuf;

namespace EGEngine
{
    public interface INetworkMessagePacker
    {
        public (List<NetworkMessage>, int) Unpack(byte[] buffer, int bufferPosition);
        public byte[] Pack(IMessage message);
    }
}